//
//  AddAndEditAdressViewModel.h
//  GLGW_Shoping
//
//  Created by yang on 2018/11/28.
//  Copyright © 2018年 yang. All rights reserved.
//

#import "GLGWBaseViewModel.h"
#import "MyAdressModel.h"

@protocol AdressEditDelegate <NSObject>
-(void)pushAdressSelect;
-(void)adressEditSuccess:(NSString *__nullable)tos_Str theAddEdit:(AddOrEditType)editType;
-(void)delegateSuccess:(NSString *__nullable)tos_Str;
@end

NS_ASSUME_NONNULL_BEGIN

@interface AddAndEditAdressViewModel : GLGWBaseViewModel
-(instancetype)initWithViewToViewModel:(UITableView *)tableView theSuperView:(UIView *)superView theAdresModel:(MyAdressModel_Infos *)ad_Model;
@property(nonatomic,assign) id<AdressEditDelegate>delegate;
-(void)deleteAdress;
@end

NS_ASSUME_NONNULL_END
